import "./App.css";
import React, { lazy } from 'react';
import Login from './pages/Login/Login';
import Home from "./pages/Home/Home";
import { Route, Switch } from "react-router-dom";

// const Dictionaries = lazy(() => import('./pages/dictionaries'));
// const Login = lazy(() => import("./pages/Login/Login"));
// const Home = lazy(() => import("./pages/Home/Home"));

function App() {
  return (
    <Switch>
      <Route path="/home" component={Home} />
      <Route path="/" component={Login} />
    </Switch>
  );
}

export default App;
